package com.iwhalecloud.citybrain.flow.platform.manager.application.common.enums;

/**
 * @author lzb
 * @date 2021/11/21 14:56
 */
public enum MqProcessTypeEnum {

    START("PROCESS-START", "流程发起"),
    OFFLINE("PROCESS-OFFLINE", "流程下线"),
    DELETE("PROCESS-DELETE", "流程删除"),
    DEPLOY("PROCESS-DEPLOY", "流程部署"),
    CANCEL("PROCESS-CANCEL", "流程撤销"),
    TERMINATE("PROCESS-TERMINATE", "流程中断"),
    FINISH("PROCESS-FINISH", "流程结束");

    private String type;
    private String desc;

    MqProcessTypeEnum(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public String getType() {
        return type;
    }
}
